<?php
FLEA::loadClass('FLEA_Db_TableDataGateway');
class Table_Albums extends FLEA_Db_TableDataGateway
{
	var $tableName = 'albums';
	var $primaryKey = 'album_id';
	var $hasMany = array(
		array(
			'tableClass'  => 'Table_Photos',
			'foreignKey'  => 'album_id',
			'mappingName' => 'photos',
		),
	);

}
?>